//
//  PromotionTableViewCell.m
//  Youhuiju
//
//  Created by yutenys on 16/7/25.
//  Copyright © 2016年 yutenys. All rights reserved.
//

#import "PromotionTableViewCell.h"

@interface PromotionTableViewCell ()
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *imgHeight;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *imgWidth;

@end

@implementation PromotionTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    self.imgWidth.constant = 355 * FitW;
    self.imgHeight.constant = 75 * FitH;
}
- (IBAction)clickAction:(UIButton *)sender {
    if (self.buttonClickHandler)
    {
        self.buttonClickHandler();
    }
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
